//
//  UIFont+AFF.m
//  AnyfishApp
//
//  Created by Bob Lee on 15/9/1.
//  Copyright (c) 2015年 Anyfish. All rights reserved.
//

#import "UIFont+AFF.h"

#define kFontType_Heiti_s           @"STHeitiSC-Medium"    // 华文黑体 犀利
#define kFontType_Heiti_m           @"STHeitiSC-Light"     // 华文黑体 浑厚

@implementation UIFont (AFF)

+ (UIFont*)fontWithSize_S:(CGFloat)fontSize {
//    return [UIFont fontWithName:kFontType_Heiti_s size:fontSize];
    return [UIFont boldSystemFontOfSize:fontSize];
}

+ (UIFont*)fontWithSize_M:(CGFloat)fontSize {
//    return [UIFont fontWithName:kFontType_Heiti_m size:fontSize];
    return [UIFont systemFontOfSize:fontSize];
}

- (CGFloat)lineHeightUsed {
    return IOS_VERSION>=9.0 ? (self.lineHeight+2) : (self.lineHeight + 2); // 平均增加2个
}

@end
